<?php


function phiz_replace($content){
    $arr =  array(
        "[抓狂]"=>'<img src="./Images/phiz/zhuakuang.gif" alt="抓狂" />',
        "[抱抱]"=>'<img src="./Images/phiz/baobao.gif" alt="抱抱" />',
        "[害羞]"=>'<img src="./Images/phiz/haixiu.gif" alt="害羞" />',
        "[酷]"=> '<img src="./Images/phiz/ku.gif" alt="酷" />',
        "[嘻嘻]"=> '<img src="./Images/phiz/xixi.gif" alt="嘻嘻" />',
        "[花心]"=> '<img src="./Images/phiz/huaxin.gif" alt="花心" />',
        "[太开心]"=> '<img src="./Images/phiz/taikaixin.gif" alt="太开心" />',
        "[挤眼]"=> '<img src="./Images/phiz/jiyan.gif" alt="挤眼" />',
        "[偷笑]"=> '<img src="./Images/phiz/touxiao.gif" alt="偷笑" />',
        "[钱]"=> '<img src="./Images/phiz/qian.gif" alt="钱" />',
      
    ); 
return strtr ($content,$arr);
}

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

